package cn.csc.module.shop.controller.admin.slideimg.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 轮播图 Excel 导出 Request VO", description = "参数和 ShopSlideImgPageReqVO 是一致的")
@Data
public class ShopSlideImgExportReqVO {

    @ApiModelProperty(value = "店铺ID")
    private BigInteger shopId;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "状态 1:enable, 0:disable")
    private Boolean status;

    @ApiModelProperty(value = "顺序")
    private Integer seq;

    @ApiModelProperty(value = "关联商品id")
    private BigInteger spuId;

    @ApiModelProperty(value = "图片类型 0:小程序")
    private Byte imgType;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
